package com.lb.activity.sys.service;

import com.lb.activity.po.Dictionary;
import com.lb.activity.po.DictionaryData;
import com.lb.activity.util.ResultUtil;
import com.lb.activity.vo.PageVo;

import java.util.List;

/**
 * 数据字典
 * @author 001030
 */
public interface DictionaryService {

    ResultUtil addDictionary(Dictionary dictionary);

    ResultUtil dictActs(PageVo pageVo);

    Dictionary dictionaryById(Long id);

    ResultUtil modifyDictionary(Dictionary dictionary);

    List<Dictionary> dictActs();

    ResultUtil addDictionaryData(DictionaryData dictionaryData);

    ResultUtil dictDatas(PageVo pageVo);

    ResultUtil delDictData(Long id);

    DictionaryData dictionaryDataById(Long id);

    ResultUtil updateDictionaryData(DictionaryData dictionaryData);

    List<DictionaryData> dictionaryDatas(String dictValue);

    DictionaryData dictionaryDataByDataValue(String dictDataValue);

}
